﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using ZH.Service.Interface;

namespace ZH.Api.Admin.Controllers.Cashier
{
    /// <summary>
    /// 收银端·技师
    /// </summary>
    public class C_EmployeeController : BaseController
    {
        private readonly I_Emp_Service _emp_Service;

        public C_EmployeeController(I_Login_Service login_Service, I_Emp_Service emp_Service) : base(login_Service)
        {
            _emp_Service = emp_Service;
        }

        /// <summary>
        /// 获取对应技师
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public async Task<IActionResult> Get_Cashier_Emp()
        {
            var result = await _emp_Service.Get_Cashier_Emp();

            return Ok(result);
        }
    }
}
